Example Program
String Basics
Basic string class handling.
1#include <iostream>
2#include <seqan/sequence.h>
3#include <seqan/file.h>
4
5
6int main()
7{
8    seqan::Peptide prot = "anypeptide";
9    std::cout << length(prot) << std::endl;  //output: 10
10
11    prot += "anewend";
12    std::cout << prot << std::endl;          //ouput: "ANYPEPTIDEANEWEND"
13
14    return 0;
15}
SeqAn - Sequence Analysis Library - www.seqan.de